package com.coocaa.ops.common.core.biz.panel.constant;

import lombok.experimental.UtilityClass;

import java.util.Objects;

/**
 * @author gaolin
 * @date
 * @description
 */
@UtilityClass
public class DynamicSwitchConstants {

    /**
     * 动图推荐位 海报 开
     */
    public static final Integer POSTER_OPEN = 1;

    /**
     * 海报 关闭
     */
    public static final Integer POSTER_CLOSE = 0;

    public static boolean isOpenDynamic(Integer dynamicPosterSwitch) {
        return Objects.equals(dynamicPosterSwitch, POSTER_OPEN);
    }

}
